import request from "./request"

export const newMail = function ({content, address, sendtime, method}) {
    return request.post('/mail',{
        content,
        address,
        sendtime,
        method
    })
}